﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

namespace Libraries.Entities
{
    [DataContract]
    public class Article
    {
        [DataMember]
        public int Id { get; set; }
        [DataMember]
        public string Title { get; set; }
        [DataMember]
        public string Contents { get; set; }
        [DataMember]
        public DateTime DateCreated { get; set; }
        [DataMember]
        public DateTime StartDate { get; set; }
        [DataMember]
        public DateTime Expried { get; set; }
        [DataMember]
        public string FilePath { get; set; }
        [DataMember]
        public string Location { get; set; }
        [DataMember]
        public bool IsPublic { get; set; }
        [DataMember]
        public bool IsDeleted { get; set; }
    }
}
